package com.ctrip.cap.client;

import com.ctrip.cap.domain.LogCase;
import com.ctrip.cap.domain.LogStep;
import com.ctrip.cap.domain.api.APIRun;
import com.ctrip.cap.domain.dto.CaseDTO;

public interface AvatarServiceClient {

	void helloWorld();

	/**
	 * we need caseInfoId
	 * 
	 * @param caseDTO
	 * @return
	 */
	public LogCase createCase(CaseDTO caseDTO);

	public Integer createCaseID(CaseDTO caseDTO);

	public void writeBackCaseResult(int caseID);
	
	public void writeBackCaseResult(LogCase logCase);

	public void writeBackRunResult(int jobID);

	public void addLogStep(LogStep logStep);

	public void addRemark(LogCase logCase);

	public Long addAPIRun(APIRun apiRun);

}